package cn.zyq.ykb.beans.customer;

import cn.zyq.ykb.system.common.BaseBean;
import com.fasterxml.jackson.annotation.JsonInclude;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.persistence.*;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;
import java.io.Serializable;

/**
 * 客服电话对象 customer
 *
 * @author SystemAuth
 * @date 2023-05-22
 */
@Data
@Entity
@Table(name = "`customer`")
@JsonInclude(value = JsonInclude.Include.NON_NULL)
public class Customer  extends BaseBean implements Serializable {
    /**
     * 主键id，用于关联
     */
    @Id
    @GeneratedValue(strategy = GenerationType.IDENTITY, generator = "JDBC")
    @Column(name = "`customerID`")
    @ApiModelProperty("主键id，用于关联")
    private Integer customerID;
    /**
     * 客服电话
     */
    @Column(name = "`phone`")
    @ApiModelProperty("客服电话")
    private String phone;
}
